package com.realworld.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class ExceptionData extends RuntimeException{
    private Integer code;
    public ExceptionData(Integer code,String msg){
        super(msg);
        this.code = code;
    }

}
